Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle][Workflow] Add a way to enable the AuditTrail Logger#21933

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lyrixx merged 2 commits intosymfony:masterfromlyrixx:workflow-audit-trail
Mar 10, 2017

Conversation

@lyrixx
Copy link
Member

@lyrixxlyrixx commentedMar 8, 2017
edited
Loading

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

This will increase the visibility of the Listener. We could encourage people to use at least%kernel.debug% value.


Note for the merge: There are two commits, this is done on purpose (2 different things, but easier to do only one PR)

GromNaN reacted with thumbs up emoji
if ($workflow['supports']) {
foreach ($workflow['supports']as$supportedClassName) {
$strategyDefinition =newDefinition(ClassInstanceSupportStrategy::class,array($supportedClassName));
$strategyDefinition =newDefinition(Workflow\SupportStrategy\ClassInstanceSupportStrategy::class,array($supportedClassName));

Choose a reason for hiding this comment

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

why this change?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

To reduce the number ofuse statement and to be consistant with other "...\Workflow" usage.


// Enable the AuditTrail
if ($workflow['audit_trail']['enabled']) {
$listener =newDefinition(Workflow\EventListener\AuditTrailListener::class);

Choose a reason for hiding this comment

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

use ause statement instead? more "SF style" to me

jvasseur and chalasr reacted with thumbs up emoji
Copy link
MemberAuthor

@lyrixxlyrixxMar 9, 2017
edited
Loading

Choose a reason for hiding this comment

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

Right now, there are more usage of "this style" than FQCN

Choose a reason for hiding this comment

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

Just saw that, in the Workflow namespace in fact. OK then.

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

josephdpurcell pushed a commit to josephdpurcell/symfony that referenced this pull requestMar 10, 2017
… the AuditTrail Logger (lyrixx)This PR was squashed before being merged into the 3.3-dev branch (closessymfony#21933).Discussion----------[FrameworkBundle][Workflow] Add a way to enable the AuditTrail Logger| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | ----This will increase the visibility of the Listener. We could encourage people to use at least  `%kernel.debug%` value.---Note for the merge: There are two commits, this is done on purpose (2 different things, but easier to do only one PR)Commits-------633c039 [Workflow] Added the workflow name in log generated by AuditTrailListenerb786bcc [FrameworkBundle][Workflow] Add a way to enable the AuditTrail Logger
@lyrixxlyrixx merged commit633c039 intosymfony:masterMar 10, 2017
@lyrixxlyrixx deleted the workflow-audit-trail branchMarch 10, 2017 09:45
lyrixx added a commit that referenced this pull requestApr 5, 2017
This PR was merged into the 3.3-dev branch.Discussion----------[Workflow] sync the changelog| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#20751,#21334,#21933,#21935,#21950| License       | MIT| Doc PR        |Commits-------98a18ee [Workflow] sync the changelog
@fabpotfabpot mentioned this pull requestMay 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@lyrixx@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp