Skip to content

[RFC] Run lint commands on TravisCI #485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 22, 2017
Merged

Conversation

bocharsky-bw
Copy link
Contributor

No description provided.

composer.json Outdated
@@ -25,7 +25,7 @@
"symfony/monolog-bundle" : "^3.0",
"symfony/polyfill-apcu" : "^1.0",
"symfony/swiftmailer-bundle" : "^2.3",
"symfony/symfony" : "^3.2",
"symfony/symfony" : "dev-master",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depending on dev-master directly is a total no-go.

And depending of ^3.3@dev would make this PR unmergeable, as it would mean that the demo would be in a state where it cannot be released (depending on beta releases is fine, but not on the dev version)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I think lint:xliff command will be available in Symfony 3.3 so let's just wait for it. Otherwise, I can remove xliff command to make this PR mergeable for now - we may add xliff linter later when it will be released. Wdyt?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would do the PR without xliff for now (and without changing dependencies), and add the xliff command once the demo is updated to 3.3.

Keeping the deps update in this PR will just be painful, as it will create conflicts with other PRs moving to Symfony 3.3 (we already have a PR migrating to Symfony 3.3 to use the new DI features)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, I updated PR. Thanks!

@javiereguiluz
Copy link
Member

@bocharsky-bw very nice! I love these little linters (and soon we'll add "lint:xliff" too!)

@javiereguiluz javiereguiluz merged commit cb6c5c8 into symfony:master Feb 22, 2017
javiereguiluz added a commit that referenced this pull request Feb 22, 2017
…reguiluz)

This PR was merged into the master branch.

Discussion
----------

[RFC] Run lint commands on TravisCI

Commits
-------

cb6c5c8 Make the linted resources less restrictive (to lint TwigBundle templates too)
c010b76 Used the bundle notation
6a08a12 Also lint Yaml and Twig files in CodeExplorerBundle
10d44f9 Remove lint:xliff command from TravisCI
a267189 Revert "Upgrade Symfony to dev-master"
0fa6847 Run lint commands on TravisCI
f2b5581 Upgrade Symfony to dev-master
@bocharsky-bw bocharsky-bw deleted the lint branch February 22, 2017 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants