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:
parent
5db7b77c9d
commit
42f95c3691
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -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
|
||||
|
2
LICENSE
2
LICENSE
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user