Comments (6)
created the package and updated composer.json
this package is not a yii extension so it should not be added to yii2-dev.
from yii2-coding-standards.
I thought it would make sense, because if you develop Yii 2 you want this package to check your code before you commit.
from yii2-coding-standards.
every package included in yii2-dev repo is considered a yii extension for composer package type so we should only put extensions in there.
from yii2-coding-standards.
OK, I just thought yii2-dev was short for development. Is there any other use case why you would install yii2-dev besides development?
If you have the package, you can easily check the style with
./vendor/bin/phpcs \
--extensions=php \
--standard=vendor/yiisoft/yii2-coding-standards/Yii2/ \
./vendor/schmunk42/packaii
edit PS: it such a minimal overhead, with a huge gain.
from yii2-coding-standards.
I think it is better to add the code style as dependency yourself if you need it. We are trying to keep unnecessary dependencies out of the packages to minimize download time. we could add it as a suggested package so people know about it.
from yii2-coding-standards.
Yes, as a suggest would be nice.
Von meinem iPhone gesendet
Am 07.02.2014 um 14:54 schrieb Carsten Brandt [email protected]:
I think it is better to add the code style as dependency yourself if you need it. We are trying to keep unnecessary dependencies out of the packages to minimize download time. we could add it as a suggested package so people know about it.
—
Reply to this email directly or view it on GitHub.
from yii2-coding-standards.
Related Issues (20)
- Convert tab to spaces HOT 1
- Migrations generate class not valid CaseCamel HOT 4
- Line indented incorrectly in rules HOT 1
- PHP_CodeSniffer 2.* support HOT 1
- Add tag to repository HOT 1
- Missing 2.0.0 tag? HOT 1
- Hardsetting Yii2 to 2.0.0 in composer fails to upgrade HOT 2
- How to install Yii2 coding standard HOT 2
- No check for "spaces around dot when concatenating strings" HOT 2
- Add Alphabetical sorting of use statements HOT 1
- Make new release HOT 2
- Coding Standards Fixer for Yii 2 HOT 6
- Please update to enable CodeSniffer v3 HOT 11
- php-cs vs php-cs-fixer
- Why use the Coding-sandards extension HOT 3
- 404 on Manual & Guide link in Readme.MD HOT 1
- does not fully validate all of code style
- PSR-12 standard release HOT 3
- update irc link
- update root folder links
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 yii2-coding-standards.