coffreo / php-cs-fixer-config Goto Github PK
View Code? Open in Web Editor NEWCoffreo configuration for CS Fixer
License: MIT License
Coffreo configuration for CS Fixer
License: MIT License
Using risky rule mb_str_func
raises issues when calculating binary data size.
This leads to downloaded file being invalid when used in Content-Length
header.
Proposition is to remove this risky rule.
A temporary fix can be to add theses lines into .php_cs
file before return
$config->setRules(array_merge($config->getRules(),
// disable mb_str_functions as it replace strlen with mb_strlen
// which breaks the binary content length calculation
// causing returned response to be invalid
['mb_str_functions' => false]
));
return $config;
@jeremiegrenier an opinion about this ?
Actual version cannot support PHP 7.4+ versions, throwing this error :
PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 7.3.*.
I guess friendsofphp/php-cs-fixer
dependency need a little update.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.