-
Notifications
You must be signed in to change notification settings - Fork 74
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
Adjust the code in rel-10_0 branch to work with CodePolicy. #760
Comments
so that the final 1; is not part of the POD
';' used in the element list of a join
Add some TODO comments for open questions.
The Perl::Critic failures are now down to eight files. Kernel/System/MigrateFromOTRS/CloneDB/Driver/Base.pm These cases have been fixed by changes in the CodePolicy. The TODO-comments have been removed. |
The policy https://metacpan.org/pod/Perl::Critic::Policy::ValuesAndExpressions::ProhibitCommaSeparatedStatements might hint at real errors. Make sure that there are no violations of that policy. |
Issue #760: remove some obsolete TODO comments
Issue #760: fix or filter out some more Perl::Critic violations
Only a single Perl::Critic violation is left now. This violation is covered by https://github.com/RotherOSS/CodePolicy/issues/30. |
There are still some violations from OTOBO::Perl::ObjectDependencies;
|
Only indention of end of line comments.
Issue #760: ignore Perl::Critic warnings fo InputOutput::RequireBriefOpen
Mostly where Perl::Tidy did not commpute length of UTF-8 chars correctly. But accept them anyways, as the alignment is not that important.
It's a bit strange, but it does not matter for commented out code.
…_none Issue #760 character encoding none
Down to 3 failures:
The failures for the two Event modules are covered by https://github.com/RotherOSS/CodePolicy/issues/44. One failure still open. |
Issue #760 satisfy more policies
The localised $Kernel::OM is used to generate a deviant database object. This is not intuitive, but is a known workaround. Also accept some suggestions from Perl::Critic.
Issue #760: accept violation of ObjectManagerCreation
Accepted the violation of TidyAll::Plugin::OTOBO::Perl::ObjectManagerCreation in Kernel/System/MigrateFromOTRS/CloneDB/Backend.pm. This leaves two violations that are covered in an existion issue. Closing this issue when the PR for #1000 is merged and when there are no new violations. |
Checked the Codepolicy for the rel-10_0 and the issue-#1000-zzz_reload branches. Looks good. Closing this issue and open one for the rel-10_1 branch. |
While introducing and adapting CodePolicy to our likings there will be code changes on OTOBO at the same time. See also https://github.com/RotherOSS/CodePolicy/issues/2
The text was updated successfully, but these errors were encountered: