inpsyde / php-coding-standards

Style guide for writing consistent PHP for WordPress projects.
MIT License
98 stars 23 forks source link

Update Composer dependencies #49

Closed tyrann0us closed 3 years ago

tyrann0us commented 3 years ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Improvement

What is the current behavior? (You can also link to an open issue here) Composer dependencies are outdated:

% composer outdated -D
phpunit/phpunit           9.4.4 9.5.5 The PHP Unit Testing framework.
squizlabs/php_codesniffer 3.5.8 3.6.0 PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.

What is the new behavior (if this is a feature change)? Composer dependencies have been updated.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) No.

Other information: Tests still pass. Also, PHPUnit version constraints have been changed from X-Range to tilde constraint (e.g. 9.4.* to ~9.5.0). This has no effect on the set of installable versions but aligns the constraint with the tilde constraints used in the "require" property.

To automate PRs like this in the future, it might make sense to add a dependabot.yml file, see https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.