Skip to content

Commit

Permalink
fix: circular dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
ytetsuro committed Apr 7, 2023
1 parent 2a488de commit aa25e25
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Language/PHP/CognitiveComplexityCountableNode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as PHPParser from 'php-parser';
import { ComplexityCountableNode as ComplexityCountableNodeInterface } from '../../Analyzer/CodeMetricsCalculator/CognitiveComplexity/Adapter/ComplexityCountableNode';
import { ASTNode } from './ASTNode';
import { type ASTNode } from './ASTNode';
import { ASTKind } from './ASTKind';
import { injectable } from 'inversify';

Expand Down
2 changes: 1 addition & 1 deletion src/Language/PHP/CyclomaticComplexityCountableNode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as PHPParser from 'php-parser';
import { ComplexityCountableNode as ComplexityCountableNodeInterface } from '../../Analyzer/CodeMetricsCalculator/CyclomaticComplexity/Adapter/ComplexityCountableNode';
import { ASTNode } from './ASTNode';
import { type ASTNode } from './ASTNode';
import { ASTKind } from './ASTKind';
import { injectable } from 'inversify';

Expand Down
2 changes: 1 addition & 1 deletion src/Language/PHP/LineOfCodeCountableNode.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { injectable } from 'inversify';
import { Engine } from 'php-parser';
import { LineOfCodeCountableNode as LineOfCodeCountableNodeInterface } from '../../Analyzer/CodeMetricsCalculator/LineOfCode/Adapter/LineOfCodeCountableNode';
import { ASTNode } from './ASTNode';
import { type ASTNode } from './ASTNode';

@injectable()
export class LineOfCodeCountableNode implements LineOfCodeCountableNodeInterface {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { injectable } from 'inversify';
import * as ts from 'typescript';
import { ComplexityCountableNode as ComplexityCountableNodeInterface } from '../../Analyzer/CodeMetricsCalculator/CognitiveComplexity/Adapter/ComplexityCountableNode';
import { ASTNode } from './ASTNode';
import { type ASTNode } from './ASTNode';

@injectable()
export class CognitiveComplexityCountableNode implements ComplexityCountableNodeInterface {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { injectable } from 'inversify';
import * as ts from 'typescript';
import { ComplexityCountableNode as ComplexityCountableNodeInterface } from '../../Analyzer/CodeMetricsCalculator/CyclomaticComplexity/Adapter/ComplexityCountableNode';
import { ASTNode } from './ASTNode';
import { type ASTNode } from './ASTNode';

@injectable()
export class CyclomaticComplexityCountableNode implements ComplexityCountableNodeInterface {
Expand Down
2 changes: 1 addition & 1 deletion src/Language/TypeScript/HalsteadCountableNode.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { injectable } from 'inversify';
import * as ts from 'typescript';
import { HalsteadCountableNode as HalsteadCountableNodeInterface } from '../../Analyzer/CodeMetricsCalculator/Halstead/Adapter/HalsteadCountableNode';
import { ASTNode } from './ASTNode';
import { type ASTNode } from './ASTNode';

@injectable()
export class HalsteadCountableNode implements HalsteadCountableNodeInterface {
Expand Down
2 changes: 1 addition & 1 deletion src/Language/TypeScript/LineOfCodeContableNode.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { injectable } from 'inversify';
import * as ts from 'typescript';
import { LineOfCodeCountableNode as LineOfCodeCountableNodeInterface } from '../../Analyzer/CodeMetricsCalculator/LineOfCode/Adapter/LineOfCodeCountableNode';
import { ASTNode } from './ASTNode';
import { type ASTNode } from './ASTNode';

@injectable()
export class LineOfCodeCountableNode implements LineOfCodeCountableNodeInterface {
Expand Down

0 comments on commit aa25e25

Please sign in to comment.