Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#101 - lowercased keywords #121

Merged
merged 6 commits into from
Jun 11, 2024
Merged

#101 - lowercased keywords #121

merged 6 commits into from
Jun 11, 2024

Conversation

krzysztofrewak
Copy link
Member

@krzysztofrewak krzysztofrewak commented Jun 10, 2024

I found out that NULL and TRUE and FALSE were still allowed to be written with uppercase. This PR is continuation of #104 and should finally close it. It's connected to #101.

Additionally I added some optimization elements. Codestyle should be cacheable and parallel runnable by default from now. If anyone would disable it for any reasons, there're some methods for that:

$config->withoutCache();
$config->withoutParallelRun();

There's also a way to tune parallel run:

$config->withCustomParallelRunConfig(new \PhpCsFixer\Runner\Parallel\ParallelConfig(4, 20));

Additionally I added fixer for PHPUnit annotations as old way is deprecated.

@krzysztofrewak krzysztofrewak merged commit 503547a into main Jun 11, 2024
4 checks passed
@krzysztofrewak krzysztofrewak deleted the keywords branch June 11, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants