DDC-3841: [GH-1470] [CI] Added dev requirement for "doctrine/coding-standard" #4703

Closed
opened 2026-01-22 14:48:01 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 20, 2015).

Originally assigned to: @lcobucci on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of phansys:

Url: https://github.com/doctrine/doctrine2/pull/1470

Message:

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR
  • Added dev requirement for doctrine/coding-standard.
  • Updated Travis config in order to use the new requirement within
    before_script lifecycle.
Originally created by @doctrinebot on GitHub (Jul 20, 2015). Originally assigned to: @lcobucci on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of phansys: Url: https://github.com/doctrine/doctrine2/pull/1470 Message: | Q | A | | --- | --- | | Bug fix? | no | | New feature? | yes | | BC breaks? | no | | Deprecations? | no | | Tests pass? | yes | | Fixed tickets | | | License | MIT | | Doc PR | | - Added dev requirement for `doctrine/coding-standard`. - Updated Travis config in order to use the new requirement within `before_script` lifecycle.
admin added the Improvement label 2026-01-22 14:48:01 +01:00
admin closed this issue 2026-01-22 14:48:01 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jul 20, 2015):

@doctrinebot commented on GitHub (Jul 20, 2015): - relates to [DDC-585: Create a coding standards document](http://www.doctrine-project.org/jira/browse/DDC-585)
Author
Owner

@doctrinebot commented on GitHub (Jul 20, 2015):

Comment created by phansys:

Take this as a probe of the current status of the Doctrine's CS. IMO, we should decide how to proceed in order to get a clean codebase, and I think we should apply some tool like PHP-CS-Fixer or update PHP_CodeSniffer to 2.0 in order to achieve the same feature.

Ping @Ocramius.

@doctrinebot commented on GitHub (Jul 20, 2015): Comment created by phansys: Take this as a probe of the current status of the Doctrine's CS. IMO, we should decide how to proceed in order to get a clean codebase, and I think we should apply some tool like PHP-CS-Fixer or update PHP_CodeSniffer to 2.0 in order to achieve the same feature. Ping @Ocramius.
Author
Owner

@doctrinebot commented on GitHub (Jul 21, 2015):

Comment created by @ocramius:

[~phansys] I already replied on the PR: needs CS changes before merging, and other PRs take priority first.

@doctrinebot commented on GitHub (Jul 21, 2015): Comment created by @ocramius: [~phansys] I already replied on the PR: needs CS changes before merging, and other PRs take priority first.
Author
Owner

@doctrinebot commented on GitHub (Jul 21, 2015):

Comment created by phansys:

[~Ocramius], auto CS fixes aren't available with PHP_CodeSniffer at 1.x version (they are in yet unreleased 2.x); that is why I created this PR https://github.com/doctrine/doctrine2/pull/1460 using PHP-CS-fixer, while I've also added a rule for Doctrine's logical NOT CS: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1303.
IMO, at some point we should use any of these tools to ensure all the CS rules are respected.

@doctrinebot commented on GitHub (Jul 21, 2015): Comment created by phansys: [~Ocramius], auto CS fixes aren't available with PHP_CodeSniffer at 1.x version (they are in yet unreleased 2.x); that is why I created this PR https://github.com/doctrine/doctrine2/pull/1460 using PHP-CS-fixer, while I've also added a rule for Doctrine's logical NOT CS: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1303. IMO, at some point we should use any of these tools to ensure all the CS rules are respected.
Author
Owner

@Majkl578 commented on GitHub (Dec 8, 2017):

Done in 2be1b7d0b8.

@Majkl578 commented on GitHub (Dec 8, 2017): Done in 2be1b7d0b8cc47e1061493de74ac22131e3e5031.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4703