- (improvement) Add PHP 8.1 Support
- (internal) Upgrade dependencies to their latest version.
- (internal) Upgrade dependencies to their latest version.
- (improvement) Ignore PhpStan errors about un-used constants.
- (internal) Fix using deprecated option
excludes_analyse
in our PhpStanlib.neon
configuration. - (internal) At least require PHP 7.4 and allow support for all PHP 8 versions.
- (improvement) Upgrade to PhpStan v1.0.
- (internal) Replace TravisCI with CircleCI
- (internal) Update GitHub Code Owners.
- (improvement) PhpCsFixer will no longer change the
==
operator into===
. PHPStan now marks usages of==
as errors, but in the few cases where such usage is valid, it can be overridden with a comment in the code. - (improvement) Classes ending in
Test
will no longer be marked final by PhpCsFixer. This was applied through a rule intended for use only on PHPUnit test classes, but it was applied to any and all classes ending withTest
, even insrc
. - (improvement) PhpCsFixer will no longer replace PHPUnit
assertEquals
calls withassertSame
, which works differently on objects.
- (bug) Add missing defaults that have been changed with upgrade of PhpCsFixer to
v3.0.0
back to the previous config. - (bc) The previous released version
12
included a BC where the.php_cs.dist
file has been renamed to.php_cs.dist.php
, which we have missed during review. Please seeUPGRAE.md
for more information.
- (improvement) Add support for PHP 8.x.
- (improvement) Update PHPStan to
0.12.91
and PhpCsFixer tov3.0.0
.
- (improvement) Update PHPStan to
0.12.83
and PhpCsFixer tov2.18.5
.
- (improvement) Ignore
config/bundles.php
since it's auto-generated by Symfony/Flex and does not respect PHP's strict flag, which causes problems during the CI.
- (improvement) Make PhpStan's cache directory more predictable. This also fixes errors in CI environments.
- (improvement) Update PHPStan.
- (improvement) Require all typed properties to be initialized.
- (improvement) Don't fix
date_time_immutable
. It's important for older code bases + should be "fixed" by default in newer ones.
- (improvement) Don't fix
phpdoc_to_comment
.
- (improvement) Don't treat PHPDoc types as certain in PhpStan.
- (improvement) Also include
vendor-bin
.
- (improvement) Allow "obsolete" variables in PHP (as they are often used for type doc "casting").
- (improvement) PHP-CS-Fixer: allow single line PHPDoc comments.
- (improvement) update path to symfony container in PhpStan config.
- (bug) Fix include path in Symfony preset for PhpStan
- (improvement) Extend ignore errors list in PhpStan with new doctrine namespaces
- (improvement) enable
inferPrivatePropertyTypeFromConstructor
in PhpStan
- (improvement) Disable the PHP-CS-Fixer
doctrine_annotation_braces
rule, as it has too many false-positives.
- (improvement) Drop default PHPStan level to
5
, otherwise we have a huge list of questionable results.
- (improvement) Bump default PHPStan level to
6
.
- (improvement) Bump to newest
PHPStan
version.
- Also ignore
vendor-bin
in PHPStan.
- Readded PHPStan + PHP-CS-Fixer.
- Remove bundled code.
- Disable
mb_str_functions
fixer.
- Disable the
method_chaining_indentation
fixer (as it "fixes" some unintended cases)
- Fixed testing classes to be
abstract
and notfinal
anymore (thanks PHP-CS-Fixer...)
- Bumped dependencies.
- Updated PHP-CS-Fixer with a lot of new rules.
- Moved the config files to new directories
- Correctly skip schema validation test, if there are no entities.
- Simplified and removed PhpStan config.
- Adapted
BackendTranslatorVisitor
for the newBackendTranslator::t()
. - Extract correct argument for
BackendTranslator
.
- Fix domain of extract translations from
LabeledEntityRemovalBlockedException
(it has to bebackend
).
- Improved supported symfony twig features by default, to easier test integration bundles.
- Add way to register custom twig extensions in
NoMissingTranslationsTest
. - Fix variable access bug.
- Added translation extractor for default messages in custom validation constraints.
- Added translation extractor for custom object constructor call parameters.
- Add
NoMissingTranslationsTest
. - The
SchemaValidationTest
will now print the violations in PHPUnit to ease debugability.
- Added
SchemaValidationTest
: a test helper to check that there are no mapping errors in doctrine annotations.
- Added a new
fix-ci
binary, to run all the scripts from the CI tools.
- Ignore
tests
directory. - Lint
src
for regular libraries.