Comments (2)
It looks like it moving pcntl
to the lower layer and including it in the Docker image does not solve the problem anyway, but running Docker container with --init
makes ctrl+C work properly 🤔.
The change in #7782 is correct anyway, because symfony/console
requires pcntl
to work with signals.
from php-cs-fixer.
@hgiesenow do you know what can be the root cause of Fixer not reacting to ctrl+C when running with docker run
? When I run Fixer inside container and use ctrl+C inside the container, the Fixer's process stops properly.
$ docker run --rm -it --init -v $(pwd):/code --entrypoint="" fixer:local sh
/code # php-cs-fixer check
PHP CS Fixer 3.48.1-DEV Small Changes by Fabien Potencier, Dariusz Ruminski and contributors.
PHP runtime: 8.3.2
Loaded config default from "/code/.php-cs-fixer.php".
0/1070 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%^C
/code #
fixer:local
image used above is a local build (docker build --target dist -t fixer:local .
) on branch with correct pcntl
.
from php-cs-fixer.
Related Issues (20)
- `self_static_accessor` for phpdoc HOT 1
- Unwrap variable only from complex string HOT 2
- Cache is not supported using the official docker image HOT 1
- bug - lowercase_static_reference break code
- Running php-cs-fixer describe {rule} causes unexpected deprecated notices HOT 1
- Bump issue ID 😅
- Rule nullable_type_declaration_for_default_null_value should remove default value on non-optional arguments HOT 5
- Rule request to avoid breaking #region comments HOT 1
- https://cs.symfony.com/doc/installation.html website not in line with latest version HOT 1
- `?xxx` to `xxx|null` for phpdoc fixer HOT 1
- Method chaining must be fully multiline, with the first item on a new line HOT 1
- Add `general_attribute_remove` similar to `general_phpdoc_annotation_remove`
- Wrong type annotation in Config HOT 6
- Analyzer/Analysis/* - constructor shall not be part of BC promise
- `numeric_literal_separator` converts floats to ints
- Test class links in web are broken HOT 1
- `/doc/rules/index.rst` fails to render on GitHub HOT 6
- Make `single_line_empty_body` fix control structures HOT 10
- Incompatible with phpunit 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-cs-fixer.