-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to slope-it organization, change namespace to SlopeIt\Breadcrumb…
…Bundle
- Loading branch information
Showing
28 changed files
with
179 additions
and
155 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
{ | ||
"name": "asprega/breadcrumb-bundle", | ||
"name": "slope-it/breadcrumb-bundle", | ||
"description": "A bundle for generating dynamic breadcrumbs in Symfony applications", | ||
"type": "symfony-bundle", | ||
"license": "MIT", | ||
"keywords": [ | ||
"Breadcrumb", | ||
"Breadcrumbs", | ||
"Symfony", | ||
"Bundle" | ||
"Bundle", | ||
"slope", | ||
"slope.it" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Andrea Sprega", | ||
"email": "[email protected]", | ||
"role": "Developer" | ||
"email": "[email protected]", | ||
"role": "Software engineer" | ||
} | ||
], | ||
"require": { | ||
|
@@ -25,17 +27,23 @@ | |
"twig/twig": "^2.10|^3.0" | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "1.3.1", | ||
"phpunit/phpunit": "8.5.13" | ||
"mockery/mockery": "1.4.3", | ||
"phpunit/phpunit": "9.5.4" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"AndreaSprega\\Bundle\\BreadcrumbBundle\\": "" | ||
"SlopeIt\\BreadcrumbBundle\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"SlopeIt\\Tests\\BreadcrumbBundle\\": "tests" | ||
} | ||
}, | ||
"archive": { | ||
"exclude": [ | ||
"/Tests" | ||
".github", | ||
"/tests" | ||
] | ||
}, | ||
"config": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<phpunit | ||
colors = "true" | ||
convertErrorsToExceptions = "true" | ||
convertNoticesToExceptions = "true" | ||
convertWarningsToExceptions = "true" | ||
bootstrap = "vendor/autoload.php" > | ||
|
||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
bootstrap="vendor/autoload.php" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<testsuites> | ||
<testsuite name="BreadcrumbBundle for the Symfony Framework"> | ||
<directory>./Tests</directory> | ||
<testsuite name="Tests"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory>.</directory> | ||
<exclude> | ||
<directory>./Resources</directory> | ||
<directory>./Tests</directory> | ||
<directory>./vendor</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
|
||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<phpunit | ||
colors = "true" | ||
convertErrorsToExceptions = "true" | ||
convertNoticesToExceptions = "true" | ||
convertWarningsToExceptions = "true" | ||
bootstrap = "vendor/autoload.php" > | ||
|
||
<testsuites> | ||
<testsuite name="BreadcrumbBundle for the Symfony Framework"> | ||
<directory>./Tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory>.</directory> | ||
<exclude> | ||
<directory>./Resources</directory> | ||
<directory>./Tests</directory> | ||
<directory>./vendor</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
|
||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
EventListener/BreadcrumbListener.php → src/EventListener/BreadcrumbListener.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Model/ProcessedBreadcrumbItem.php → src/Model/ProcessedBreadcrumbItem.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
services: | ||
slope_it.breadcrumb.listener: | ||
class: SlopeIt\BreadcrumbBundle\EventListener\BreadcrumbListener | ||
tags: | ||
- { name: kernel.event_listener, event: kernel.controller, method: onKernelController } | ||
arguments: | ||
- '@slope_it.breadcrumb.builder' | ||
- '@annotation_reader' | ||
|
||
slope_it.breadcrumb.builder: | ||
class: SlopeIt\BreadcrumbBundle\Service\BreadcrumbBuilder | ||
arguments: | ||
- '@slope_it.breadcrumb.item_factory' | ||
|
||
slope_it.breadcrumb.item_factory: | ||
class: SlopeIt\BreadcrumbBundle\Service\BreadcrumbItemFactory | ||
|
||
slope_it.breadcrumb.item_processor: | ||
class: SlopeIt\BreadcrumbBundle\Service\BreadcrumbItemProcessor | ||
arguments: | ||
- '@property_accessor' | ||
- '@translator' | ||
- '@router' | ||
- '@request_stack' | ||
|
||
slope_it.breadcrumb.twig_extension: | ||
class: SlopeIt\BreadcrumbBundle\Twig\BreadcrumbExtension | ||
arguments: | ||
- '@slope_it.breadcrumb.builder' | ||
- '@slope_it.breadcrumb.item_processor' | ||
- '%slope_it_breadcrumb.template%' | ||
tags: | ||
- { name: twig.extension } |
File renamed without changes.
Oops, something went wrong.