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

Skip to content

[DependencyInjection] [Routing] [Config] Recursive directory loading #14700

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 2 commits into from
Jun 5, 2015

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #13246, #11045, #11059
License MIT
Doc PR -

@stof
Copy link
Member

stof commented May 20, 2015

The changelog updates are missing

@stof
Copy link
Member

stof commented May 20, 2015

@nicolas-grekas could you also have a look at the test failure in the TwigBundle tests ?

return true;
}

return null === $type && '/' === substr($resource, -1);
Copy link
Contributor

Choose a reason for hiding this comment

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

- return null === $type && '/' === substr($resource, -1);
+ return null === $type && is_string($resource) && '/' === substr($resource, -1);

will solve the failing test reported by Travis ($resource could be a Closure).

@nicolas-grekas nicolas-grekas force-pushed the issue-11045-directory-loader branch from 5232ff0 to 811853d Compare May 20, 2015 17:53
@nicolas-grekas
Copy link
Member Author

Comments addressed

lavoiesl and others added 2 commits June 2, 2015 16:17
Issue symfony#11045

For now, the Routing DirectoryLoader requires the type `directory`
to be specified so it does not conflict with `AnnotationDirectoryLoader`.
However, this could be refactored.
@nicolas-grekas nicolas-grekas force-pushed the issue-11045-directory-loader branch from 811853d to 60b1c5b Compare June 2, 2015 23:18
@nicolas-grekas
Copy link
Member Author

ping @symfony/deciders

@dunglas
Copy link
Member

dunglas commented Jun 3, 2015

:+1

@fabpot
Copy link
Member

fabpot commented Jun 5, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 60b1c5b into symfony:2.8 Jun 5, 2015
fabpot added a commit that referenced this pull request Jun 5, 2015
…ectory loading (lavoiesl, nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[DependencyInjection] [Routing] [Config] Recursive directory loading

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #13246, #11045, #11059
| License       | MIT
| Doc PR        | -

Commits
-------

60b1c5b Added CHANGELOG entries, cleanups
73f0ee2 [DI][Routing] recursive directory loading
@nicolas-grekas nicolas-grekas deleted the issue-11045-directory-loader branch June 15, 2015 12:05
@fabpot fabpot mentioned this pull request Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants