1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00

Upgrade to php-cs-fixer v3

This commit is contained in:
Niklas Keller 2022-02-08 21:34:54 +01:00
parent 5db7b77c9d
commit 42f95c3691
5 changed files with 4 additions and 5 deletions

3
.gitattributes vendored
View File

@ -1,9 +1,8 @@
docs export-ignore
examples export-ignore
.travis.yml export-ignore
.gitattributes export-ignore
.gitmodules export-ignore
.gitignore export-ignore
.php_cs.dist export-ignore
.php-cs-fixer.dist.php export-ignore
.editorconfig export-ignore
README.md export-ignore

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2021 amphp
Copyright (c) 2015-2022 amphp
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -44,7 +44,7 @@
"amphp/phpunit-util": "^3",
"phpunit/phpunit": "^9",
"psalm/phar": "^4.20",
"amphp/php-cs-fixer-config": "dev-master"
"amphp/php-cs-fixer-config": "^2-dev"
},
"suggest": {
"ext-eio": "^2 || ^3",

View File

@ -18,7 +18,7 @@ final class EioPoll
{
if (!self::$stream) {
if (\function_exists('eio_init')) {
\eio_init();
eio_init();
}
self::$stream = \eio_get_event_stream();
}