Covivo/mobicoop

View on GitHub

Showing 1,454 of 1,619 total issues

Similar blocks of code found in 13 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191128134130.php and 12 other locations - About 5 days to fix
api/src/Migrations/Version20191106105029.php on lines 1..128
api/src/Migrations/Version20191106165721.php on lines 1..128
api/src/Migrations/Version20191111091726.php on lines 1..128
api/src/Migrations/Version20191111093917.php on lines 1..128
api/src/Migrations/Version20191128134044.php on lines 1..128
api/src/Migrations/Version20191129100232.php on lines 1..128
api/src/Migrations/Version20191211113507.php on lines 1..128
api/src/Migrations/Version20191216083607.php on lines 1..128
api/src/Migrations/Version20191217100836.php on lines 1..128
api/src/Migrations/Version20191220134133.php on lines 1..128
api/src/Migrations/Version20191221090541.php on lines 1..128
api/src/Migrations/Version20191221093705.php on lines 1..128

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 1006.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191115134837.php and 2 other locations - About 5 days to fix
api/src/Migrations/Version20191001145143.php on lines 1..126
api/src/Migrations/Version20191115151150.php on lines 1..126

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 988.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191001145143.php and 2 other locations - About 5 days to fix
api/src/Migrations/Version20191115134837.php on lines 1..126
api/src/Migrations/Version20191115151150.php on lines 1..126

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 988.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191115151150.php and 2 other locations - About 5 days to fix
api/src/Migrations/Version20191001145143.php on lines 1..126
api/src/Migrations/Version20191115134837.php on lines 1..126

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 988.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 7 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191120094639.php and 6 other locations - About 5 days to fix
api/src/Migrations/Version20191029172319.php on lines 1..124
api/src/Migrations/Version20191030152443.php on lines 1..124
api/src/Migrations/Version20191105155349.php on lines 1..124
api/src/Migrations/Version20191106163023.php on lines 1..124
api/src/Migrations/Version20191116093338.php on lines 1..124
api/src/Migrations/Version20191118084440.php on lines 1..124

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 970.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 7 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191030152443.php and 6 other locations - About 5 days to fix
api/src/Migrations/Version20191029172319.php on lines 1..124
api/src/Migrations/Version20191105155349.php on lines 1..124
api/src/Migrations/Version20191106163023.php on lines 1..124
api/src/Migrations/Version20191116093338.php on lines 1..124
api/src/Migrations/Version20191118084440.php on lines 1..124
api/src/Migrations/Version20191120094639.php on lines 1..124

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 970.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 7 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191118084440.php and 6 other locations - About 5 days to fix
api/src/Migrations/Version20191029172319.php on lines 1..124
api/src/Migrations/Version20191030152443.php on lines 1..124
api/src/Migrations/Version20191105155349.php on lines 1..124
api/src/Migrations/Version20191106163023.php on lines 1..124
api/src/Migrations/Version20191116093338.php on lines 1..124
api/src/Migrations/Version20191120094639.php on lines 1..124

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 970.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 7 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191029172319.php and 6 other locations - About 5 days to fix
api/src/Migrations/Version20191030152443.php on lines 1..124
api/src/Migrations/Version20191105155349.php on lines 1..124
api/src/Migrations/Version20191106163023.php on lines 1..124
api/src/Migrations/Version20191116093338.php on lines 1..124
api/src/Migrations/Version20191118084440.php on lines 1..124
api/src/Migrations/Version20191120094639.php on lines 1..124

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 970.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 7 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191106163023.php and 6 other locations - About 5 days to fix
api/src/Migrations/Version20191029172319.php on lines 1..124
api/src/Migrations/Version20191030152443.php on lines 1..124
api/src/Migrations/Version20191105155349.php on lines 1..124
api/src/Migrations/Version20191116093338.php on lines 1..124
api/src/Migrations/Version20191118084440.php on lines 1..124
api/src/Migrations/Version20191120094639.php on lines 1..124

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 970.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 7 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191116093338.php and 6 other locations - About 5 days to fix
api/src/Migrations/Version20191029172319.php on lines 1..124
api/src/Migrations/Version20191030152443.php on lines 1..124
api/src/Migrations/Version20191105155349.php on lines 1..124
api/src/Migrations/Version20191106163023.php on lines 1..124
api/src/Migrations/Version20191118084440.php on lines 1..124
api/src/Migrations/Version20191120094639.php on lines 1..124

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 970.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 7 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191105155349.php and 6 other locations - About 5 days to fix
api/src/Migrations/Version20191029172319.php on lines 1..124
api/src/Migrations/Version20191030152443.php on lines 1..124
api/src/Migrations/Version20191106163023.php on lines 1..124
api/src/Migrations/Version20191116093338.php on lines 1..124
api/src/Migrations/Version20191118084440.php on lines 1..124
api/src/Migrations/Version20191120094639.php on lines 1..124

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 970.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191004144322.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191118081322.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191004142811.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191118073747.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20190930161845.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191022132522.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20190919154700.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191007071912.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028101204.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 14 locations. Consider refactoring.
Open

<?php declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
Severity: Major
Found in api/src/Migrations/Version20191028101204.php and 13 other locations - About 5 days to fix
api/src/Migrations/Version20190919154700.php on lines 1..122
api/src/Migrations/Version20190930161845.php on lines 1..122
api/src/Migrations/Version20191004142811.php on lines 1..122
api/src/Migrations/Version20191004144322.php on lines 1..122
api/src/Migrations/Version20191007071912.php on lines 1..122
api/src/Migrations/Version20191007101739.php on lines 1..122
api/src/Migrations/Version20191007121522.php on lines 1..122
api/src/Migrations/Version20191019093318.php on lines 1..122
api/src/Migrations/Version20191019123254.php on lines 1..122
api/src/Migrations/Version20191022132522.php on lines 1..122
api/src/Migrations/Version20191028150524.php on lines 1..122
api/src/Migrations/Version20191118073747.php on lines 1..122
api/src/Migrations/Version20191118081322.php on lines 1..122

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 952.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Severity
Category
Status
Source
Language