Maurits van der Schee 3 years ago
parent
commit
696e3b968d
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      install.php
  2. 1
    1
      tests/fixtures/blog_mysql.sql
  3. 1
    1
      update.php

+ 1
- 1
install.php View File

@@ -6,6 +6,6 @@ if (!file_exists('composer.phar')) {
6 6
     $composer = file_get_contents('https://getcomposer.org/composer.phar');
7 7
     file_put_contents('composer.phar', $composer);
8 8
 }
9
-exec('php composer.phar install');
9
+exec('php composer.phar install --ignore-platform-reqs');
10 10
 
11 11
 include 'patch.php';

+ 1
- 1
tests/fixtures/blog_mysql.sql View File

@@ -130,7 +130,7 @@ INSERT INTO `events` (`name`, `datetime`, `visitors`) VALUES
130 130
 ('Launch', '2016-01-01 13:01:01', 0);
131 131
 
132 132
 DROP VIEW IF EXISTS `tag_usage`;
133
-CREATE DEFINER = 'php-crud-api' VIEW `tag_usage` AS select `tags`.`id` as `id`, `name`, count(`name`) AS `count` from `tags`, `post_tags` where `tags`.`id` = `post_tags`.`tag_id` group by `tags`.`id`, `name` order by `count` desc, `name`;
133
+CREATE VIEW `tag_usage` AS select `tags`.`id` as `id`, `name`, count(`name`) AS `count` from `tags`, `post_tags` where `tags`.`id` = `post_tags`.`tag_id` group by `tags`.`id`, `name` order by `count` desc, `name`;
134 134
 
135 135
 DROP TABLE IF EXISTS `products`;
136 136
 CREATE TABLE `products` (

+ 1
- 1
update.php View File

@@ -6,6 +6,6 @@ if (!file_exists('composer.phar')) {
6 6
     $composer = file_get_contents('https://getcomposer.org/composer.phar');
7 7
     file_put_contents('composer.phar', $composer);
8 8
 }
9
-exec('php composer.phar update');
9
+exec('php composer.phar update --ignore-platform-reqs');
10 10
 
11 11
 include 'patch.php';

Loading…
Cancel
Save