Monthly report: June 2022
Dump of my development activities
rexstan - created by me
A REDAXO CMS AddOn which adds PHPStan based code analysis to the open source CMS improving developer productivity and code quality.
While rexstan saw early adopters, we improved the experience for first time users.
- Support for analysing code in modules/templates
- Support for PHPStan bleeding edge and phpstan-phpunit.
- PHPStan updates
phpstan-dba - created by me
PHPStan based SQL static analysis and type inference for the database access layer. Supports @doctrineproject DBAL, PDO, mysqli with MySQL/MariaDB and @PostgreSQL.
I have worked a lot on phpstan-dba
during june, to fix minor and a few bigger glitches.
We published releases improving compatibility with latest upstream PHPStan changes and paved the way for use of phpstan-dba with PHPStan @bleedingEdge. Additionally support for PHP 7.3 and MySQL 5.7 was added.
Find out more about recent releases.
PHPStan - my contributions
PHPStan finds bugs in your code without writing tests
General Improvements
- allow numeric-strings being returned for non-empty-string
- Support non-empty-array in InArrayFunctionTypeSpecifyingExtension
Signature Improvements
Parameter and Returntype improvements help PHPStan to understand your code. The better the inference the less additional manual code is required by you to make PHPStan understand whats going on.
See my blog post about the sprintf/sscanf overall picture.
to all sprintf/sscanf lovers.. the next @phpstan release will include type inference for most common cases.
— markus staab (@markusstaab) June 18, 2022
enjoy. pic.twitter.com/ZytadYf9Yj
Composer - my contributions
A Dependency Manager for PHP
Together with Jordi I worked on a PHPStan extension for Composer which detects problems while working with the config object.
Symplify - my contributions
Improvements regarding use of static reflection, to prevent class not found errors when custom autoloaders are used.
GitHub Maintainer Month
I was selected to be one of those 900 people across the globe to get a one time sponsorship from GitHub.
💌 Support my open source activities
Honor the work I am doing in my freetime by sponsoring me.
Found a bug? Please help improve this article.