File tree Expand file tree Collapse file tree 3 files changed +15
-51
lines changed Expand file tree Collapse file tree 3 files changed +15
-51
lines changed Original file line number Diff line number Diff line change @@ -3,47 +3,17 @@ MAKEFLAGS =+ -rR --warn-undefined-variables
3
3
4
4
.PHONY : composer-install composer-update phpstan cs-fixer examples docker run
5
5
6
- ifndef CONFLUENT_VERSION
7
- CONFLUENT_VERSION := latest
8
- endif
6
+ CONFLUENT_VERSION ?= latest
7
+ CONFLUENT_NETWORK_SUBNET ?= 172.68.0.0/24
8
+ SCHEMA_REGISTRY_IPV4 ?= 172.68.0.103
9
+ KAFKA_BROKER_IPV4 ?= 172.68.0.102
10
+ ZOOKEEPER_IPV4 ?= 172.68.0.101
11
+ COMPOSER ?= bin/composer.phar
12
+ COMPOSER_VERSION ?= 1.7.2
13
+ PHP ?= bin/php
14
+ PHP_VERSION ?= 7.2
15
+ XDEBUG_VERSION ?= 2.6.1
9
16
10
- ifndef CONFLUENT_NETWORK_SUBNET
11
- CONFLUENT_NETWORK_SUBNET := 172.68.0.0/24
12
- endif
13
-
14
- ifndef SCHEMA_REGISTRY_IPV4
15
- SCHEMA_REGISTRY_IPV4 := 172.68.0.103
16
- endif
17
-
18
- ifndef KAFKA_BROKER_IPV4
19
- KAFKA_BROKER_IPV4 := 172.68.0.102
20
- endif
21
-
22
- ifndef ZOOKEEPER_IPV4
23
- ZOOKEEPER_IPV4 := 172.68.0.101
24
- endif
25
-
26
- ifndef COMPOSER
27
- COMPOSER := bin/composer.phar
28
- endif
29
-
30
- ifndef COMPOSER_VERSION
31
- COMPOSER_VERSION := 1.7.2
32
- endif
33
-
34
- ifndef PHP
35
- PHP := bin/php
36
- endif
37
-
38
- ifndef PHP_VERSION
39
- PHP_VERSION := 7.1
40
- endif
41
-
42
- ifndef XDEBUG_VERSION
43
- XDEBUG_VERSION := 2.6.1
44
- endif
45
-
46
- -include variables.mk
47
17
export
48
18
49
19
docker :
@@ -99,11 +69,10 @@ install-phars:
99
69
curl https://getcomposer.org/download/$(COMPOSER_VERSION ) /composer.phar -o bin/composer.phar -LR -z bin/composer.phar
100
70
chmod a+x bin/composer.phar
101
71
102
-
103
72
platform :
104
73
docker-compose down
105
74
docker-compose up -d
106
- sleep 25
75
+ sleep 20
107
76
108
77
clean :
109
78
rm -rf build
Original file line number Diff line number Diff line change 14
14
"php" : " ~7.1" ,
15
15
"guzzlehttp/guzzle" : " ~6.3" ,
16
16
"beberlei/assert" : " ~2.7" ,
17
- "flix-tech /avro-php " : " ^2.0 "
17
+ "wikimedia /avro" : " dev-master@dev "
18
18
},
19
19
"require-dev" : {
20
20
"phpunit/phpunit" : " ~7.0" ,
26
26
"raphhh/trex-reflection" : " Needed if you want to use the `RequestCallbackValidator`" ,
27
27
"doctrine/cache" : " If you want to use the DoctrineCacheAdapter"
28
28
},
29
+ "replace" : {
30
+ "flix-tech/avro-php" : " *"
31
+ },
29
32
"autoload" : {
30
33
"psr-4" : {
31
34
"FlixTech\\ SchemaRegistryApi\\ " : " src/"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments