Thanks to visit codestin.com
Credit goes to github.com

Skip to content

link helper does not link Contracts #28095

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

Conversation

oleg-andreyev
Copy link
Contributor

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT

link is great tool in development and while working on another PR, noticed that all symfony/* packages are linked except symfony/contracts

After this PR this issue will be fixed.

@oleg-andreyev
Copy link
Contributor Author

failing build caused by Segmentation fault

@@ -42,6 +42,8 @@ $directories = array_merge(...array_values(array_map(function ($part) {
return glob(__DIR__.'/src/Symfony/'.$part.'/*', GLOB_ONLYDIR | GLOB_NOSORT);
}, $braces)));

$directories[] = __DIR__.'/src/Symfony/Contracts';
Copy link
Member

Choose a reason for hiding this comment

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

should be listed in the $braces array instead for consistency

Copy link
Member

Choose a reason for hiding this comment

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

ouch no, OK!

@nicolas-grekas nicolas-grekas added this to the next milestone Aug 1, 2018
@nicolas-grekas
Copy link
Member

Thank you @oleg-andreyev.

@nicolas-grekas nicolas-grekas merged commit 7c124c4 into symfony:master Aug 1, 2018
nicolas-grekas added a commit that referenced this pull request Aug 1, 2018
This PR was merged into the 4.2-dev branch.

Discussion
----------

link helper does not link Contracts

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT

`link` is great tool in development and while working on another PR, noticed that all `symfony/*` packages are linked except `symfony/contracts`

After this PR this issue will be fixed.

Commits
-------

7c124c4 appending root of Contracts dir (where composer.json is located)
@oleg-andreyev oleg-andreyev deleted the link-does-not-link-contracts branch August 1, 2018 14:58
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.2 Nov 1, 2018
@oleg-andreyev oleg-andreyev restored the link-does-not-link-contracts branch September 5, 2019 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants