Commit 601c9c6
integration: convert tests to switchblade framework
- Note: this buildpack does not use the common github-config as the
buildpack is packaged with the legacy github.com/cloudfoundry/buildpack-packager
- Use github token provided for tests as COMPOSER_GITHUB_OAUTH_TOKEN
instead of providing it separately
- Removed tests not directly related to buildpack functionality (e.g.
testing CF functionality like profile scripts)
- There were certain tests that ran app frameworks (like Cakephp) as
vendored apps and online apps, but the fixtures were wrong - the
"vendored" app did not have a vendor dir and was identical to the
onilne app. I haven't put the effort to fix such fixtures and removed
them. e.g. https://github.com/cloudfoundry/php-buildpack/tree/63193ece34e473e746742163b4c49786476cf1ca/fixtures/cake_local_deps
- Tests on Symfony app framework was marked as pending last year
(#1000). The tests
do not currently run successfully on CF. So I haven't migrated them to
switchblade.1 parent 63193ec commit 601c9c6
File tree
5,727 files changed
+112386
-630872
lines changed- .github/workflows
- fixtures
- cake_local_deps/.bp-config
- cake_remote_deps
- .bp-config
- bin
- config
- Migrations
- schema
- src
- Console
- Controller
- Model
- Entity
- Table
- View
- Cell
- Helper
- templates
- Error
- Pages
- Users
- cell
- element/flash
- email
- html
- text
- layout
- email
- html
- text
- tests
- Fixture
- TestCase
- Controller
- Component
- Model/Behavior
- View/Helper
- webroot
- css
- font
- img
- js
- cake
- .bp-config
- bin
- config
- Migrations
- schema
- plugins
- resources
- src
- Console
- Controller
- Component
- Model
- Behavior
- Entity
- Table
- View
- Cell
- Helper
- templates
- Error
- Pages
- Users
- cell
- element/flash
- email
- html
- text
- layout
- email
- html
- text
- tests
- Fixture
- TestCase
- Controller
- Component
- Model/Behavior
- View/Helper
- webroot
- css
- font
- img
- js
- composer_default
- htdocs
- composer_env_sniffer
- .bp-config
- vendor
- composer
- web
- composer_invalid_json
- .bp-config
- composer_latest_version
- .bp-config
- composer_lock_invalid_json
- .bp-config
- composer_no_index_dot_php
- vendor
- composer
- monolog
- psr
- custom_extension
- default
- randomdir
- dotnet_core_as_supply_app
- fake_dynatrace_api
- httpd_and_proxying
- .bp-config
- invalid_php_ini_d
- .bp-config/php/php.ini.d
- invalid_php_version_composer
- invalid_php_version
- .bp-config
- invalid_webserver
- .bp-config
- laminas-local-deps
- data/cache
- laminas-remote-deps
- .bp-config
- config
- autoload
- data/cache
- module/Application
- config
- src
- Controller
- test/Controller
- view
- application/index
- error
- layout
- public
- css
- img
- js
- laminas
- .bp-config
- config
- autoload
- data/cache
- module/Application
- config
- src
- Controller
- test/Controller
- view
- application/index
- error
- layout
- public
- css
- img
- js
- local_dependencies
- vendor
- composer
- monolog/monolog/tests/Monolog/Handler/Fixtures
- logs_dir
- htdocs
- logs
- nginx_and_proxying
- .bp-config
- non_php_composer_json
- wwwroot
- php_app
- randomdir
- php_fs3_extensions
- .bp-config
- python_extension
- .extensions/phpmyadmin
- remote_dependencies
- strangechars
- .bp-config
- symfony_5_local_deps
- .devcontainer
- .github/workflows
- assets
- controllers
- js
- styles
- bin
- config
- packages
- routes
- data
- migrations
- public
- build
- fonts
- images
- src
- Command
- Controller
- Admin
- DataFixtures
- Entity
- EventSubscriber
- Event
- Form
- DataTransformer
- Type
- Pagination
- Repository
- Security
- Twig
- Components
- Utils
- templates
- admin
- blog
- blog
- bundles/TwigBundle/Exception
- components
- debug
- default
- form
- security
- user
- tests
- Command
- Controller
- Admin
- Form/DataTransformer
- Utils
- translations
- var
- cache/dev
- log
- sessions
- vendor
- bin
- composer
- dama/doctrine-test-bundle
- src/DAMA/DoctrineTestBundle
- Behat
- ServiceContainer
- DependencyInjection
- Doctrine
- Cache
- DBAL
- PHPUnit
- doctrine
- cache
- lib/Doctrine/Common/Cache
- Psr6
- collections
- docs/en
- common
- docs/en
- reference
- data-fixtures
- dbal
- bin
- deprecations
- lib/Doctrine/Deprecations
- PHPUnit
- doctrine-bundle
- Attribute
- CacheWarmer
- Command
- Proxy
- Controller
- DataCollector
- Dbal
- DependencyInjection
- Compiler
- EventSubscriber
- Mapping
- Middleware
- Repository
- Resources
- config
- schema
- views/Collector
- Twig
- doctrine-fixtures-bundle
- Command
- DependencyInjection
- CompilerPass
- Loader
- Purger
- Resources
- config
- doc
- doctrine-migrations-bundle
- Collector
- DependencyInjection
- CompilerPass
- MigrationsFactory
- Resources
- config
- schema
- doc
- views/Collector
- event-manager
- inflector
- docs/en
- lib/Doctrine/Inflector
- Rules
- English
- French
- NorwegianBokmal
- Portuguese
- Spanish
- Turkish
- instantiator
- docs/en
- src/Doctrine/Instantiator
- Exception
- lexer
- migrations
- bin
- lib/Doctrine/Migrations
- Configuration
- Connection
- Exception
- EntityManager
- Exception
- Exception
- Migration
- Exception
- XML
- Event
- Listeners
- Exception
- Finder
- Exception
- Generator
- Exception
- Metadata
- Storage
- Provider
- Exception
- Query
- Exception
- Tools
- Console
- Command
- Exception
- Helper
- Version
- orm
- bin
- persistence
- src/Persistence
- Event
- Mapping
- Driver
- Reflection
- sql-formatter
- bin
- src
- egulias/email-validator
- src
- Parser
- CommentStrategy
- Result
- Reason
- Validation
- Exception
- Extra
- Warning
- masterminds/html5
- bin
- src
- HTML5
- Parser
- Serializer
- monolog/monolog
- src/Monolog
- Attribute
- Formatter
- Handler
- Curl
- FingersCrossed
- Slack
- SyslogUdp
- Processor
- Test
- nikic/php-parser
- bin
- lib/PhpParser
- Builder
- Comment
- ErrorHandler
- Internal
- Lexer
- TokenEmulator
- NodeVisitor
- Node
- Expr
- AssignOp
- BinaryOp
- Cast
- Name
- Scalar
- MagicConst
- Stmt
- TraitUseAdaptation
- Parser
- PrettyPrinter
- psr
- cache
- src
- container
- src
- event-dispatcher
- src
- log
- symfony
- apache-pack
- asset
- Context
- Exception
- VersionStrategy
- browser-kit
- Exception
- Test/Constraint
- cache-contracts
- cache
- Adapter
- DataCollector
- DependencyInjection
- Exception
- Marshaller
- Traits
- config
- Definition
- Builder
- Dumper
- Exception
- Exception
- Loader
- Resource
- Util
- Exception
- console
- CommandLoader
- Command
- DependencyInjection
- Descriptor
- EventListener
- Event
- Exception
- Formatter
- Helper
- Input
- Logger
- Output
- Question
- Resources/bin
- Style
- Tester
- css-selector
- Exception
- Node
- Parser
- Handler
- Shortcut
- Tokenizer
- XPath
- Extension
- debug-bundle
- Command
- DependencyInjection
- Compiler
- Resources
- config/schema
- views/Profiler
- dependency-injection
- Argument
- Compiler
- Config
- Dumper
- Exception
- Extension
- LazyProxy
- Instantiator
- PhpDumper
- Loader
- Configurator
- Traits
- schema/dic/services
- ParameterBag
- deprecation-contracts
- doctrine-bridge
- CacheWarmer
- DataCollector
- DataFixtures
- DependencyInjection
- CompilerPass
- Security/UserProvider
- Form
- ChoiceList
- DataTransformer
- EventListener
- Type
- Logger
- Messenger
- PropertyInfo
- SchemaListener
- Security
- RememberMe
- User
- Validator
- Constraints
- dom-crawler
- Field
- Test/Constraint
- dotenv
- Exception
- error-handler
- ErrorEnhancer
- ErrorRenderer
- Error
- Exception
- Resources
- assets
- css
- images
- js
- views
- event-dispatcher-contracts
- event-dispatcher
- Debug
- DependencyInjection
- expression-language
- Node
- Resources/bin
- filesystem
- Exception
- finder
- Comparator
- Exception
- Iterator
- flex
- src
- Command
- Configurator
- Event
- Unpack
- Update
- form
- ChoiceList
- Factory
- Cache
- Loader
- View
- Command
- Console
- Descriptor
- Helper
- DependencyInjection
- Event
- Exception
- Extension
- Core
- DataMapper
- DataTransformer
- EventListener
- Type
- Csrf
- EventListener
- Type
- DataCollector
- EventListener
- Proxy
- Type
- DependencyInjection
- HttpFoundation
- Type
- Validator
- Constraints
- EventListener
- Type
- ViolationMapper
- Guess
- Resources
- config
- translations
- Test
- Traits
- Util
- framework-bundle
- CacheWarmer
- Command
- Console
- Descriptor
- Helper
- Controller
- DataCollector
- DependencyInjection
- Compiler
- EventListener
- HttpCache
- Kernel
- Resources
- bin
- config
- routing
- schema
- Routing
- Secrets
- Test
- Translation
- http-client-contracts
- Exception
- Test
- Fixtures/web
- http-foundation
- Exception
- File
- Exception
- Session
- Attribute
- Flash
- Storage
- Handler
- Proxy
- Test/Constraint
- http-kernel
- Bundle
- CacheClearer
- CacheWarmer
- Config
- ControllerMetadata
- Controller
- ArgumentResolver
- DataCollector
- Debug
- DependencyInjection
- EventListener
- Event
- Exception
- Fragment
- HttpCache
- Log
- Profiler
- Resources
- intl
- Data
- Bundle
- Compiler
- Reader
- Writer
- Generator
- Util
- Exception
- Resources
- bin
- data
- Util
- mailer
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
5,727 files changed
+112386
-630872
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
6 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments